import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/subMenu/add',

    method: 'post',
    data
  })
}
export function del(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/subMenu/delete',
    method: 'post',
    data
  })
}
export function updateChild(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/subMenu/update',
    method: 'post',
    data
  })
}
export function updatePa(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/menu/update',
    method: 'post',
    data
  })
}

